package com.smmisia.auth.utls;

import com.smmisia.common.Result.Result;

import java.util.function.Supplier;

/**
 * 分支处理
 * @author: smmisia
 * @date: 2023/9/27
 */
@FunctionalInterface
public interface BranchHandler {

    Result trueOrFalseHandler(Supplier<Result> trueHandler, Supplier<Result> falseHandler);
}
